<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="shortcut icon" type="image/x-icon" href="images/title.png">
    <title>研发中心网址大全</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="dist/pure/pure.css">
    <link rel="stylesheet" href="dist/pure/grids-responsive-min.css">
    <link rel="stylesheet" href="dist/layui/css/layui.css">
    <link href='dist/fullcalendar/fullcalendar.min.css' rel='stylesheet'/>
    <link href='dist/fullcalendar/fullcalendar.print.min.css' rel='stylesheet' media='print'/>
    <link rel="stylesheet" href="dist/glDatePicker/styles/glDatePicker.default.css">

    <link rel="stylesheet" href="dist/blackdatepicker/css/datepicker.css" type="text/css"/>

    <!-- 确保自定样式最后覆盖 -->
    <link rel="stylesheet" href="dist/css/index.css">
    <style>
        .pure-menu .pure-menu-list li {
            font-size: 1.6rem;
            background-color: #cccccc;
        }

        .pure-menu .pure-menu-list li a {
            height: 100%;
            width: 100%;
            color: white;
            background-color: #274A80;
            text-decoration: none;
            padding: 0 0 0 2.5rem;
            border-bottom: 1px solid black;
        }

        .pure-menu .pure-menu-list li.back a {
            background-color: #666666;
        }

        .pure-menu .pure-menu-list li a:hover, .pure-menu .pure-menu-list li a.active {
            background-color: #012A6A;
        }

        ul.li-sty {
            padding: 0.5rem;
        }

        ul.li-sty samp {
            display: block;
            font-size: 1.4rem;
            margin-bottom: 1.2rem;
        }

        ul.li-sty ul li, ul.li-sty ul li span {
            margin: 0 !important;
            padding: 0;
            height: 3rem;
            line-height: 3rem;
        }

        ul.li-sty ul li span {
            padding-right: 0.8rem;
        }

        ul.li-sty ul li span.links_title {
            font-weight: bold;
        }
    </style>

    <!--<link rel="stylesheet" media="screen" type="text/css" href="dist/blackdatepicker/css/layout.css" />-->
    <script type="text/javascript" src="dist/blackdatepicker/js/jquery.js"></script>
    <script type="text/javascript" src="dist/blackdatepicker/js/datepicker.js"></script>
    <script type="text/javascript" src="dist/blackdatepicker/js/eye.js"></script>
    <script type="text/javascript" src="dist/blackdatepicker/js/utils.js"></script>
    <script type="text/javascript" src="dist/blackdatepicker/js/layout.js?ver=1.0.2"></script>
    <style>
        #move_port{
            position: fixed;
            width: 200px;//宽度要和图片的宽一样
            min-height: 100px;
            left: 0;
            top:0;
            cursor: pointer;
            /*background: #2aabd2;*/
            z-index: 10000;//调整层级
        }
    </style>

</head>
<body onresize="onresize();">
<div class="main_pane">
    <div class="pure-g header">
        <div class="pure-u-3-5">
            <div class="logo">
                <div class="title">
                    研发中心网址大全
                </div>
                <p class="desc">
                    用心创造价值，研发中心，因你而美丽
                </p>
            </div>
        </div>
        <div class="pure-u-1-5">
            <!--留一个1/5位置空着-->
        </div>
        <div class="pure-u-1-5" id="bsDatePicker">
            <iframe src="bsdatepicker.html" frameborder="0" style=" width:100%"></iframe>
        </div>
    </div>

    <div class="pure-g contant" id="contant" style="display: block">
        <div class="pure-u-4-5">
            <div class="pure-u-23-24">
                <div class="pure-g link_img">
                    <div class="pure-u-1-4 link_item">
                        <a href="https://rd-mokadisplay.tcl.com/rdm" target="_blank">
                            <img src="./images/11RDM.png" alt="" width="100%">
                        </a>
                    </div>
                    <div class="pure-u-1-4 link_item">
                        <a href="https://rd-mokadisplay.tcl.com/srdpm" target="_blank">
                            <img src="./images/SRDPM.png" alt="" width="100%">
                        </a>
                    </div>
                    <div class="pure-u-1-4 link_item">
                        <a href="https://rd-mokadisplay.tcl.com/kms" target="_blank">
                            <img src="./images/22KMS.png" alt="" width="100%">
                        </a>
                    </div>
                    <div class="pure-u-1-4 link_item">
                        <a href="https://rd-mokadisplay.tcl.com/edms" target="_blank">
                            <img src="./images/21EDMS.png" alt="" width="100%">
                        </a>
                    </div>
                    <div class="pure-u-1-4 link_item">
                        <a href="https://rd-mokadisplay.tcl.com/oem" target="_blank">
                            <img src="./images/13OMS.png" alt="" width="100%">
                        </a>
                    </div>
                    <div class="pure-u-1-4 link_item">
                        <a href="https://rd-mokadisplay.tcl.com/feas" target="_blank">
                            <img src="./images/14FEAS.png" alt="" width="100%">
                        </a>
                    </div>
                    <!--第二行-->


                    <div class="pure-u-1-4 link_item">
                        <a href="http://scbcrd.tclking.com:8080/mantis" target="_blank">
                            <img src="./images/22mantis.png" alt="" width="100%">
                        </a>
                    </div>
                    <div class="pure-u-1-4 link_item">
                        <a href="https://rd-mokadisplay.tcl.com/map" target="_blank">
                            <img src="./images/map.png" alt="" width="100%">
                        </a>
                    </div>
                    <!--<div class="pure-u-1-4 link_item">-->
                        <!--<a href="https://rd-mokadisplay.tcl.com/testlink" target="_blank">-->
                            <!--<img src="./images/24testlink.png" alt="" width="100%">-->
                        <!--</a>-->
                    <!--</div>-->
                    <!--第三行-->
                    <div class="pure-u-1-4 link_item">
                        <a href="https://ep.tcl.com" target="_blank">
                            <img src="./images/oa.png" alt="" width="100%">
                        </a>
                    </div>
                    <div class="pure-u-1-4 link_item">
                        <a href="http://oa.tmt.tcl.com/ekp/login.jsp" target="_blank">
                            <img src="./images/32TCL.png" alt="" width="100%">
                        </a>
                    </div>
                    <div class="pure-u-1-4 link_item">
                        <a href="https://splm-mokadisplay.tcl.com" target="_blank">
                            <img src="./images/SPLM.png" alt="" width="100%">
                        </a>
                    </div>
                    <div class="pure-u-1-4 link_item">
                        <a href="http://pdm-mokadisplay.tcl.com" target="_blank">
                            <img src="./images/34PDM.png" alt="" width="100%">
                        </a>
                    </div>
                    <!--第四行-->
                    <div class="pure-u-1-4 link_item">
                        <a href="http://md.tclking.com/" target="_blank">
                            <img src="./images/42book.png" alt="" width="100%">
                        </a>
                    </div>
                    <div class="pure-u-1-4 link_item">
                        <a href="http://help.tclking.com/" target="_blank">
                            <img src="./images/41TCLsys-pla.png" alt="" width="100%">
                        </a>
                    </div>
                    <div class="pure-u-1-4 link_item">
                        <a href="http://webmail.tcl.com/" target="_blank">
                            <img src="./images/43mail.png" alt="" width="100%">
                        </a>
                    </div>
                    <div class="pure-u-1-4 link_item">
                        <a href="#" id="shareFiles">
                            <img src="./images/44sharefiles.png" alt="" width="100%">
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="pure-u-1-5" style="overflow-y: auto;background-color: #393D49">
            <ul class="layui-nav layui-nav-tree" lay-filter="test" style="width: 100%">
                <!-- 侧边导航: <ul class="layui-nav layui-nav-tree layui-nav-side"> -->
<!--                <li class="layui-nav-item layui-nav-itemed">-->
<!--                    <a href="javascript:;"><b>公司系统</b></a>-->
<!--                    <dl class="layui-nav-child">-->
<!--                        <dd><a target="_blank" href="http://cmp.tcl.com:82/Frame/Login.htm" title="CMP">CMP</a></dd>-->
<!--                        <dd><a target="_blank" href="http://fsscsys.tcl.com/fssc-web/index.html" title="FSSC">FSSC</a></dd>-->
<!--                        &lt;!&ndash;<dd><a target="_blank" href="http://mantis.tclking.com/login_page.php" title="深圳Mantis系统">深圳Mantis系统</a></dd>&ndash;&gt;-->
<!--                    </dl>-->
<!--                </li>-->
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;"><b>自研IT系统外网</b></a>
                    <dl class="layui-nav-child">
                        <dd><a target="_blank" href="http://scbcrd.tclking.com:8080/rdm" title="RDM">RDM(研发管理平台)</a></dd>
                        <dd><a target="_blank" href="http://scbcrd.tclking.com:8080/srdpm" title="SRDPM">SRDPM(研发项目管理系统)</a></dd>
                        <dd><a target="_blank" href="http://scbcrd.tclking.com:8080/oem" title="OEM">OEM(研发外协管理系统)</a></dd>
                        <dd><a target="_blank" href="http://scbcrd.tclking.com:8080/mantis" title="MANTIS">Mantis</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;"><b>部门系统</b></a>
                    <dl class="layui-nav-child">
                        <!--<dd><a target="_blank" href="https://rd-mokadisplay.tcl.com/srm" title="软件需求管理">SRM</a></dd>-->
                        <dd><a target="_blank" href="http://10.118.0.222:1122/" title="研发中心顺风车">研发中心顺风车</a></dd>
                        <!--<dd><a target="_blank" href=" https://rd-mokadisplay.tcl.com/tomato/public" title="Tomato">Tomato</a></dd>-->
                        <dd><a target="_blank" href="https://rd-mokadisplay.tcl.com/tom" title="TOM（TV运营管理平台）">TOM（TV运营管理平台）</a></dd>
                        <dd><a target="_blank" href="https://rd-mokadisplay.tcl.com/spm" title="SPM（软件项目管理）">SPM（软件项目管理）</a></dd>
                        <dd><a target="_blank" href="https://customer.csm.tclscbc.com/" title="CSM（客户软件管理系统）">CSM（客户软件管理系统）</a></dd>
                        <dd><a target="_blank" href="http://rd-mokadisplay.tcl.com/satshow/" title="SAT看板">SAT看板</a></dd>
                        <dd><a target="_blank" href="https://rd-mokadisplay.tcl.com:8080/mdbug/login_page.php" title="结构DFMEA系统">结构DFMEA系统</a></dd>
                        <!--<dd><a target="_blank" href="http://10.201.251.252:8080/stream" title="码流管理平台">码流管理平台</a></dd>-->
                        <dd><a target="_blank" href="https://rd-mokadisplay.tcl.com/translate" title="多国语言系统">多国语言系统</a></dd>
                        <dd><a target="_blank" href="http://rd-mokadisplay.tcl.com/sat" title="SAT云测试系统">SAT云测试系统</a></dd>
                        <dd><a target="_blank" href="http://duty.tclscbc.com/admin/login.html" title="值班管理系统">值班管理系统</a></dd>
<!--                        <dd><a target="_blank" href="https://rd-mokadisplay.tcl.com/rdm_test" title="测试链接"></a></dd>-->
                    </dl>
                </li>
            </ul>
        </div>
    </div>

    <div class="pure-g contant" id="shareFilesDiv" style="display: none">
        <div class="pure-u-1-5" id="btnArea">
            <div class="pure-menu custom-restricted-width " style="padding-right: 0.8rem">
                <ul class="pure-menu-list">
                    <li class="pure-menu-item"><a data-id="0" href="javascript:;" class="pure-menu-link">研发中心</a></li>
                    <li class="pure-menu-item"><a data-id="1" href="javascript:;" class="pure-menu-link">软件设计部</a></li>
                    <li class="pure-menu-item"><a data-id="2" href="javascript:;" class="pure-menu-link">产品开发部</a></li>
                    <li class="pure-menu-item"><a data-id="3" href="javascript:;" class="pure-menu-link">结构设计部</a></li>
                    <li class="pure-menu-item"><a data-id="4" href="javascript:;" class="pure-menu-link">DQA室</a></li>
                    <li class="pure-menu-item"><a data-id="5" href="javascript:;" class="pure-menu-link">背光设计所</a></li>
                    <li class="pure-menu-item"><a data-id="6" href="javascript:;" class="pure-menu-link">设计支持室</a></li>
                    <li class="pure-menu-item"><a data-id="7" href="javascript:;" class="pure-menu-link">平面设计室</a></li>
                    <li class="pure-menu-item back"><a href="javascript:;" class="pure-menu-link">返回主页</a></li>
                </ul>
            </div>
        </div>
        <div class="pure-u-4-5" style="background-color: #cccccc">
            <ul class="li-sty">
                <li id="div0">
                    <samp style="color:gray">温馨提示:访问路径参考实际服务器访问路径.
                    <br>
                        访问方式:直接点击蓝色按钮<span style="color: blue">复制链接</span>,到任意文件夹粘贴并打开.
                    </samp>
                    <ul>
                        <li>
                            <label class="links_title">研发中心文件服务器:</label>
                            <span>\\10.126.69.9</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">研发中心临时共享服务器:</label>
                            <span>\\10.126.69.10</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">研发中心共享文件夹:</label>
                            <span>\\10.118.1.66\scbc\研发中心</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">3C报告、3C证书:</label>
                            <span>\\10.118.1.66\设计中心\产品认证实验室\内销机\节能认证</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">节能报告、证书:</label>
                            <span>\\10.118.1.66\设计中心\产品认证实验室\内销机\3C认证样机照片及清单\TCL海外工厂</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                    </ul>
                </li>
                <li id="div1">
                    <ul>

                        <li>
                            <label class="links_title">软件发布临时路径:</label>
                            <span>\\10.126.69.9\软件发布文档</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">软件设计部共享文件夹:</label>
                            <span>\\10.118.1.66\scbc\设计中心\软件设计所</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">公司应用软件安装路径:</label>
                            <span>\\10.118.1.66\software\软件\公司应用软件</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                    </ul>
                </li>
                <li id="div2">
                    <ul>
                        <li>

                            <label class="links_title">产品开发部文件服务器:</label>
                            <span>\\10.126.69.9\pcb</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">产品开发部共享文件夹:</label>
                            <span>\\10.118.1.66\scbc\设计中心\硬件设计所</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                    </ul>
                </li>
                <li id="div3">
                    <ul>
                        <li>
                            <label class="links_title">结构设计所文件服务器:</label>
                            <span>\\10.126.69.9\mdhz</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">结构设计所共享文件夹</label>
                            <span>\\10.118.1.66\scbc\设计中心\结构设计所</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                    </ul>

                </li>
                <li id="div4">
                    <ul>
                        <li>
                            <label class="links_title">DQA室共享文件夹:</label>
                            <span>\\10.118.1.66\scbc\设计中心\DQA室</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">DQA测试进度:</label>
                            <span>\\10.118.1.66\scbc\设计中心\DQA室\04 测试进度</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">各类测试报告:</label>
                            <span>\\10.118.1.66\scbc\设计中心\DQA室\05 测试报告</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">SWQA测试工作文档:</label>
                            <span>\\10.118.1.66\scbc\设计中心\DQA室\08 SWQA测试工作文档</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">外销认证报告:</label>
                            <span>\\10.118.1.66\scbc\设计中心\DQA室\12 产品认证证书报告\外销机</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                    </ul>
                </li>
                <li id="div5">
                    <ul>
                        <li>
                            <label class="links_title">光学设计部共享文件夹:</label>
                            <span>\\10.118.1.66\scbc\设计中心\光学设计所</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                    </ul>

                </li>
                <li id="div6">
                    <ul>
                        <li>
                            <label class="links_title">设计支持室共享文件夹</label>
                            <span>\\10.118.1.66\scbc\设计中心\设计支持室</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">体系文件:</label>
                            <span>\\10.118.1.66\scbc\知识管理\惠州文控\平台部门文控\四标体系文件</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                    </ul>

                </li>
                <li id="div7">
                    <ul>
                        <li>
                            <label class="links_title">平面设计室共享文件夹:</label>
                            <span>\\10.118.1.66\scbc\设计中心\平面设计室</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                        <li>
                            <label class="links_title">平面室说明书审签路径:</label>
                            <span>\\10.118.1.66\scbc\设计中心\平面设计室\工程师审签文件夹</span>
                            <button type="button" class="btn btn-primary btn-xs copy_url">复制链接</button>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</div>

<div style="height: 0 !important; width: 0 !important;">
    <textarea name="copy_area" id="copy_area"></textarea>
</div>

<!--<div id="move_port">-->
    <!--<a href="http://szmoka.tclking.com:8082/softmanage/public/sw/index/login.html" target="_blank"><img border="0" src="http://szmoka.tclking.com:8082/softmanage/public/assets/images/logo.png"></a><br>-->
<!--</div>-->
<!--<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>-->
<script src="dist/layui/layui.js"></script>
<script src='dist/fullcalendar/lib/moment.min.js'></script>
<script src='dist/fullcalendar/lib/jquery.min.js'></script>
<script src='dist/fullcalendar/fullcalendar.min.js'></script>
<script src="dist/glDatePicker/glDatePicker.min.js"></script>

<script>
    function onresize() {
        var size = {};
        size.ratio = 0.75;//宽度比
        size.body_width = $('body').width();
        size.target = $('div.main_pane');
        size.width = size.body_width * size.ratio < 960 ? 960 : size.body_width * size.ratio;
        size.height = ( size.width * 9 ) / 16;

        size.sub = {
            header: $('div.header'),
            contant: $('div.contant')
        };

        $('body').removeAttr('style');
        //主布局
        size.target.css('width', size.width);
        size.target.css('height', size.height);
        size.target.css('margin-top', 0 - (size.height / 2));
        size.target.css('margin-left', 0 - (size.width / 2));
        if ($('body').height() < size.height) {
            $('body').height(size.height);
        }

        //头部
        size.sub.header.height(size.height * 0.28);
        size.sub.contant.height(size.height * 0.65);

        //共享文件夹
        size.share = {
            btn: $('#shareFilesDiv .pure-menu-list .pure-menu-item a')
            , list: $('#shareFilesDiv .pure-menu-list')
            , list_item: $('#shareFilesDiv .pure-menu-list .pure-menu-item')
        };
//        size.share.list.height(size.height * 0.65);
        var btn_height = ( (size.height * 0.65 + 2) / 9 ) - 1;
//        size.share.list.height(btn_height);
//        size.share.btn.css({height: btn_height});
        size.share.btn.css({'line-height': btn_height + 'px'});

//        console.log($('#shareFilesDiv .pure-menu-list'))


        size.target.show();
//        console.log(size);
    }

    (function ($) {
        onresize();

        $('ul.pure-menu-list li.pure-menu-item a').on('click', function () {
            if ($(this).attr('data-id')) {
                change(this);
            }
        });

        layui.use('element', function () {
            var element = layui.element();
            //…
        });

        $('#calendar_weeks').fullCalendar({
            header: {
                left: 'prev',
                center: 'title',
                right: 'next'
            },
            defaultView: 'basicWeek',
            defaultDate: moment(),
            navLinks: true, // can click day/week names to navigate views
            editable: true,
            eventLimit: true, // allow "more" link when too many events
            events: []
        });
        $('#calendar').fullCalendar({
            header: {
                left: 'prev',
                center: 'title',
                right: 'next'
            },
//            defaultView: 'basicWeek' ,
            defaultDate: moment(),
            navLinks: true, // can click day/week names to navigate views
            editable: true,
            eventLimit: true, // allow "more" link when too many events
            events: []
        });
//        $('#calendar').glDatePicker({showAlways: true});
        /*$('#calendar').calendar({
            width: 200,
            height: 150,
            data: [
                {
                    date: '2015/12/24',
                    value: 'Christmas Eve'
                },
                {
                    date: '2015/12/25',
                    value: 'Merry Christmas'
                },
                {
                    date: '2016/01/01',
                    value: 'Happy New Year'
                }
            ],
            onSelected: function (view, date, data) {
                console.log('view:' + view)
                alert('date:' + date)
                console.log('data:' + (data || 'None'));
            }
        });*/
    })(jQuery);

    $("#shareFiles").click(function () {
        $('#bsDatePicker').fadeOut(500);//隐藏图标和侧边栏
        $('#contant').fadeOut(500, function () {
            $('#shareFilesDiv').fadeIn(500, function () {
                document.getElementById('shareFilesDiv').style.display = 'block';
            })
        });
    });
    $("ul.pure-menu-list li.back a").click(function () {

        $('#shareFilesDiv').fadeOut(500, function () {
            $('#contant').fadeIn(500, function () {
                //图标和侧边栏
                $('#bsDatePicker').fadeIn(500);
                document.getElementById('shareFiles').style.display = 'block';
            })
        });
    });
    $('#backbtn').click(function () {
        $('#shareFilesDiv').fadeOut(500, function () {
            $('#contant').fadeIn(500);
            $('#bsDatePicker').fadeIn(500);
//            top.location.reload();
        })
    });
    layui.use('layer', function () {
        layer = layui.layer;
    });
    <!--复制按钮js-->
    (function ($) {
        $('.copy_url').on('click', function () {
            var url = $(this).siblings('span').html();
            document.getElementById("copy_area").value = url;
            document.getElementById("copy_area").select();
            document.execCommand("copy", false, null);
            layer.msg('复制成功！')

        })
    })(jQuery);

    //    共享文件夹选择
    function change(value) {
//        value.style.borderColor="red";
        var target;
        if (value) {
            target = $(value);
            console.log(target);
        } else {
            target = $('li.pure-menu-item').find('a[data-id=0]');
        }
        $('li.pure-menu-item').find('a').removeClass('active');
        target.addClass('active');
//        console.log(target);
        var index = target.attr('data-id');
        index = '#div' + index;
        $(index).show().siblings().hide();
    }

    change();
    //    end
</script>
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script>
    function visit(onNewIP) { //  onNewIp - your listener function for new IPs
        //compatibility for firefox and chrome
        var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
        var pc = new myPeerConnection({
                iceServers: []
            }),
            noop = function() {},
            localIPs = {},
            ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
            key;

        function iterateIP(ip) {
            if (!localIPs[ip]) onNewIP(ip);
            localIPs[ip] = true;
        }

        //create a bogus data channel
        pc.createDataChannel("");

        // create offer and set local description
        pc.createOffer().then(function(sdp) {
            sdp.sdp.split('\n').forEach(function(line) {
                if (line.indexOf('candidate') < 0) return;
                line.match(ipRegex).forEach(iterateIP);
            });

            pc.setLocalDescription(sdp, noop, noop);
        }).catch(function(reason) {
            // An error occurred, so handle the failure to connect
        });

        //listen for candidate events
        pc.onicecandidate = function(ice) {
            if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
            ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
        };
    }
    /////浏览器
    function getBrowserInfo() {
        var Sys = {};
        var ua = navigator.userAgent.toLowerCase();
        var re = /(msie|firefox|chrome|opera|version).*?([\d.]+)/;
        var m = ua.match(re);
        var result='';
        try{
            Sys.browser = m[1].replace(/version/, "'safari");
            Sys.ver = m[2];
            result=Sys.browser+Sys.ver;
        }catch(e)
        {
            result='获取不到';
            console.log("getBrowserInfo fail.")
        }
        return result;
    }

    ////内网IP
    visit(function(ip){
        $.post('http://10.118.1.89:8082/rdm/api/rdweb/visit' ,{login_ip:ip,explorer: getBrowserInfo(),out_ip:returnCitySN["cip"],out_ip_name:returnCitySN["cname"]} ,function (res) {
        console.log(res);
        } , 'json');
    });


</script>
<style>
    .departBtn {
        margin-bottom: 2px;
    }

    /*.departBtn img:active  {*/
    /*border:2px solid #dbf208;*/
    /*}*/
    #copy_area {
        z-index: -1;
        position: relative;
        width: 0px;
        height: 0px;
        top: -50px;
        left: -500px;
    }

    .li-sty li ul li {
        margin-top: 10px;
    }
</style>

<!--<script>-->
    <!--function move_obj(obj,move_w,move_h,x,y,l,t,m){-->
        <!--if(obj==undefined){-->
            <!--alert("方法调用错误,请传入正确参数!");-->
            <!--return;-->
        <!--}-->
        <!--move_w=(move_w==undefined||move_w=='')?$(window).width():move_w;//水平移动范围,默认浏览器可视区域宽度-->
        <!--move_h=(move_h==undefined||move_h=='')?$(window).height():move_h;//垂直移动范围,默认浏览器可视区域高度-->
        <!--x=(x==undefined||x=='')?3:x;//一次水平移动距离,默认3px-->
        <!--y=(y==undefined||y=='')?3:y;//一次垂直移动距离,默认3px-->
        <!--l=(l==undefined||l=='')?0:l;//相对于body的起始水平位置,默认0-->
        <!--t=(t==undefined||t=='')?0:t;//相对于body的起始垂直位置,默认0-->
        <!--m=(m==undefined||m=='')?80:m;//计时周期,单位毫秒,默认80ms-->
        <!--function moving(){-->
            <!--x=(l>=move_w-$(obj).width()||l<0)?-x:x;-->
            <!--y=(t>=move_h-$(obj).height()||t<0)?-y:y;-->
            <!--l+=x;-->
            <!--t+=y;-->
            <!--$(obj).css({left:l,top:t});-->
        <!--}-->
        <!--var timer_move=setInterval(function () {-->
            <!--moving();-->
        <!--},m);-->
        <!--//悬停停止运动-->
        <!--$(obj).mouseover(function(){-->
            <!--$(this).children(".close_port").show();-->
            <!--clearInterval(timer_move);-->
        <!--});-->
        <!--//移开鼠标后继续运动-->
        <!--$(obj).mouseout(function(){-->
            <!--$(this).children(".close_port").hide();-->
            <!--timer_move=setInterval(function () {-->
                <!--moving();-->
            <!--},m);-->
        <!--});-->
        <!--//关闭浮窗,关闭后只能通过刷新页面才能显示,也可以自定义关闭功能-->
        <!--var close="<div class=\"close_port\">×</div>";-->
        <!--$(obj).append(close);-->
        <!--$(".close_port").css({-->
            <!--position:'absolute',-->
            <!--display:'none',-->
            <!--width:'20px',-->
            <!--height:'20px',-->
            <!--top:0,-->
            <!--right:0,-->
            <!--color:'red',-->
            <!--border:'1px solid red',-->
            <!--background:'#ccc',-->
            <!--textAlign:'center',-->
            <!--lineHeight:'20px',-->
            <!--cursor: 'pointer'-->
        <!--});-->
        <!--$(obj).on('click','.close_port',function () {-->
            <!--//如果有嵌套子级漂浮窗,同时清除子级定时器,清理缓存-->
            <!--$(obj).find('.close_port').trigger('mouseover');-->
            <!--clearInterval(timer_move);-->
            <!--$(this).parent().remove();-->
        <!--})-->
    <!--}-->
<!--</script>-->
<!--<script>-->
   <!--move_obj("#move_port");-->
<!--</script>-->

</body>
</html>